<!--
 * @Description: 
 * @Author: HKH
 * @Date: 2024-11-15 16:02:25
 * @LastEditors: HKH
 * @LastEditTime: 2024-11-15 17:32:56
-->
<script setup lang="ts">
</script>

<template>
  <div class="background">
    <div class="content">
      <!-- 路由跳转 -->
       <div class="myRounter">
       <el-button type="warning"  > <RouterLink to="/" style="text-decoration:none;color:white;" >登录</RouterLink></el-button>
        <el-button type="warning" ><RouterLink to="/about" style="text-decoration:none;color:white">注册</RouterLink></el-button>
       </div>
      <router-view />
    </div>
  </div>
</template>





<style scoped>

.background {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
}

.background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./assets/login_bg.png');
  background-size: cover;
  background-position: center;
  filter: blur(5px); 
  z-index: -1; 
}

.content {
  position: relative;
  z-index: 1;
}
</style>